
export interface ThemeConfig {
    systemType: SaasSystemType
    systemNameFirst: string
    systemNameSecond: string
    colorConfig: {
        colorPrimary: string
        colorPrimaryDisabled?: string
        colorSuccess?: string
        colorWarning?: string
        colorError?: string
        colorInfo?: string
        colorTextBase?: string
        colorBgBase?: string
    }
    themeLogoPath: any
    lightLogoPath: any
    matchPath?: string   
    nodeJsApiBaseUrl?: string
    javaApiBaseUrl?: string
}

export type SaasSystemType = 'QingYuanDefault' | 'YunNanLinGuiYuan'

//默认配置是北京青远生态
const themeConfigDefault:ThemeConfig = {
    systemType: 'QingYuanDefault',
    systemNameFirst: "自然保护地规划编制",
    systemNameSecond: "智能辅助系统",
    colorConfig: {
        colorPrimary: "#0f6432",
        colorPrimaryDisabled: '#0f643272',
        colorBgBase: "#0f643212",
    },
    themeLogoPath: require('./../assets/image/logo-qingyuan.jpg'),
    lightLogoPath: require('./../assets/image/logo-qingyuan-light.png'),
    matchPath: "",
    nodeJsApiBaseUrl: "https://ghzsapi.zhbhd.cn",
    javaApiBaseUrl: "https://ghzsapi.zhbhd.cn",
}

//云南林规院配置
const themeConfigYunNan: ThemeConfig = {
    systemType: 'YunNanLinGuiYuan',
    systemNameFirst: "自然保护地规划",
    systemNameSecond: "智慧辅助系统",
    colorConfig: {
        colorPrimary: "#0f6432",
        colorPrimaryDisabled: '#0f643272',
        colorBgBase: "#0f643212",
    },
    themeLogoPath: require('./../assets/image/logo-yunnan.jpg'),
    lightLogoPath: require('./../assets/image/logo-yunnan.jpg'),
    matchPath: "/ghzs_api",
    nodeJsApiBaseUrl: "http://220.163.43.218:9001",
    javaApiBaseUrl: "http://220.163.43.218:9001",
}

// export const saasConfig = themeConfigDefault;   //青远公网
export const saasConfig = themeConfigYunNan;  //云南林规院